package com.warmlight.voicepacket.contract;

import com.warmlight.voicepacket.base.contract.BasePresenter;
import com.warmlight.voicepacket.base.contract.BaseView;
import com.warmlight.voicepacket.bean.comm.CommBean;

import java.util.Map;

/**
 * Created by weiweijinpeng on 2018/8/13.
 */

public interface CommContract {

    interface View extends BaseView<Presenter> {

        void onRecommList(CommBean list);
        void onLikeList(String list);
        void onRecommFailure();
        void onRecommNoMore();
        void onNoNetWork();
    }

    interface Presenter extends BasePresenter {

        void getRecommList(Map<String, Object> map);
        void getLikeList(Map<String, Object> map);
    }

}
